import permission from "./permission";
import menuPermission from "@/directive/menu-permission";
const directives = {
  permission, menuPermission
}
export default {
  install(Vue){
    Object.keys(directives).forEach(key=>{
      Vue.directive(key,directives[key])
    })
  }
}
